import { DashBoard, NotFound, Users, SysSetting, UserEdit } from './pages'

const routes = [
  {
    path: '/dashboard',
    isNav: true,
    component: DashBoard,
    iconType: 'dashboard',
    title: '管理首页'
  },
  {
    path: '/users',
    isNav: true,
    iconType: 'usergroup-add',
    component: Users,
    isExact: true,
    title: '用户管理'
  },
  {
    path: '/users/edit_user/:id',
    component: UserEdit,
    isExact: true,
    title: '编辑用户'
  },
  {
    path: '/syssetting',
    isNav: true,
    component: SysSetting,
    iconType: 'setting',
    title: '系统管理'
  },
  {
    path: '/404',
    component: NotFound
  }
]
export default routes
